﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class BaseData_QueryStock : System.Web.UI.Page
{
    protected void Page_PreInit(object sender, EventArgs e)
    {
        Page.Theme = BLL.Common.GetWSMThemes();
    }
    private string ProductCode
    {
        get
        {
            return Request.QueryString["code"] == null ? "" : Request.QueryString["code"].ToString();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        DataList1.DataSource = new BLL.SPKCB().GetProductStockByProductIdAndCKKWDM(this.ProductCode, ConfigurationManager.AppSettings["ckdm"].ToString(), ConfigurationManager.AppSettings["kwdm"].ToString());
        DataList1.DataBind();
    }
}
